﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TIMETABLEASY.EasyCalendar.Model
{
    public class EventCal : BindableObject
    {
        public static string PersoCalendar = "#176C60"; //vert
        public static string ELearningCalendar = "#BAB40B"; //Jaune
        public static string PresentCalendar = "#B3172C"; //Rouge

        private string subject;
        public string Subject 
        {
            get { return subject; }
            set
            {
                if (subject != value)
                {
                    subject = value;
                   
                }
            }
        }
                
        private string location;
        public string Location
        {
            get { return location; }
            set
            {
                if (location != value)
                {
                    location = value;
                    
                }
            }
        }

        private string class_name;
        public string Class_name
        {
            get { return class_name; }
            set
            {
                if (class_name != value)
                {
                    class_name = value;

                }
            }
        }

        private string priority_color;
        public string Priority_color
        {
            get { return priority_color; }
            set
            {
                if (priority_color != value)
                {
                    priority_color = value;

                }
            }
        }

        private int priority_thinkness;
        public int Priority_thinkness
        {
            get { return priority_thinkness; }
            set
            {
                if (priority_thinkness != value)
                {
                    priority_thinkness = value;

                }
            }
        }

        private string typCalendar;
        public string TypCalendar
        {
            get { return typCalendar; }
            set
            {
                if (typCalendar != value)
                {
                    typCalendar = value;
                }
            }
        }

        private string intervenant;
        public string Intervenant
        {
            get { return intervenant; }
            set
            {
                if (intervenant != value)
                {
                    intervenant = value;

                }
            }
        }

        private DateTime startTime;
        public DateTime StartTime
        {
            get { return startTime; }
            set
            {
                if (startTime != value)
                {
                    startTime = value;
                  
                }
            }
        }

        private DateTime endTime;
        public DateTime EndTime
        {
            get { return endTime; }
            set
            {
                if (endTime != value)
                {
                    endTime = value;
                    
                }
            }
        }

        private string room;
        public string Room
        {
            get { return room; }
            set
            {
                if (room != value)
                {
                    room = value;

                }
            }
        }

        private string period;
        public string Period
        {
            get { return period; }
            set
            {
                if (period != value)
                {
                    period = value;

                }
            }
        }

        public override string ToString()
        {
            return Subject;
        }
    }

}



